package com.atguigu.gulimall.product.fegin;


import com.atguigu.common.utils.R;
import com.atguigu.common.vo.WareStock;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareService {
    @RequestMapping("/ware/waresku/getSkuStock")
    List<WareStock> getSkuStock(@RequestParam(value = "skuIds") List<Long> skuIds);
}